package com.shiro.demo.mapper;

import com.shiro.demo.domain.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface PermissionMapper {

    List<Permission> permissionListByRoleIds(@Param("roleIds") Set<Long> roleIds);

    List<Permission> permissionList();
}
